function Ankhy_Warrior_1()

	--------------------------
	-- Autoaccept LFR invite
	AcceptProposal();
	--------------------------

-- CD's
		-- Battle Shout
		if not ccrPlayerHasBuff("Battle Shout")
		and SpellIsReady("Battle Shout")
		then
			ccrCast("Battle Shout")
			return
		end	
		if ccrTargetIsBoss() 
		and SpellIsReady("Blood Fury")
		and SpellIsReady("Skull Banner")
		and SpellCDDuration("Colossus Smash", 2)
		and ccrPlayerIsInCombat() 
			then
			ccrCast("Blood Fury")
			return
		end
		-- Recklessness
		if ccrTargetIsBoss() 
		and SpellIsReady("Recklessness")
		and SpellIsReady("Skull Banner")
		and SpellCDDuration("Colossus Smash", 2)
		and ccrPlayerIsInCombat() 
			then
			ccrCast("Recklessness")
			return
		end
		-- Skull Banner
		if ccrTargetIsBoss() 
		and SpellIsReady("Skull Banner")
		and ccrPlayerHasBuff("Recklessness")
		and SpellCDDuration("Colossus Smash", 2)
		and ccrPlayerIsInCombat() 
			then
			ccrCast("Skull Banner")
			return
		end
		-- Berserker Rage
		if SpellIsReady("Berserker Rage") 
		and ccrPlayerIsInCombat() 		
			then
			ccrCast("Berserker Rage")
			return
		end
		-- Die by the Sword
		if ccrPlayerHealth() <= 25
			and SpellIsReady("Die by the Sword")
			then
				ccrCast("Die by the Sword")
				return
		end
		-- Enraged Regeneration
		if ccrPlayerHealth() <= 50
			and SpellIsReady("Enraged Regeneration")
			then
				ccrCast("Enraged Regeneration")
				return
		end
		-- Shield Wall
		if ccrPlayerHealth() <= 25
			and SpellIsReady("Shield Wall")
			then
				ccrCast("Shield Wall")
				return
		end
		-- Sweeping Strikes
		if #tblPGetMeleeEnemies >= 2 then
		if not ccrPlayerHasBuff("Sweeping Strikes")
			then
				ccrCast("Sweeping Strikes")
				return
			end	
		end
		-- Charge
		if ccrSpellCanAttack("Charge")
		and ccrPlayerIsInCombat()
		and not ccrTargetIsWithinMeleeRange()
			then
			ccrCastAttack("Charge")
			return
		end
-- Tier 6		
		-- Bloodbath
		if ccrTargetIsBoss()
		and SpellIsReady("Bloodbath")
		and SpellCDDuration("Colossus Smash", 0.1)
		and ccrPlayerIsInCombat() 		
			then
			ccrCast("Bloodbath")
			return
		end	

-- Rotation
	if ccrPlayerIsInCombat() then
		-- Thunder Clap
		if ccrPlayerHasSpell("Thunder Clap")
		and ccrSpellIsReady("Thunder Clap")
		and #tblPGetMeleeEnemies >= 4
		and ccrValidTarget()
		and Target:GetDistance(Player) <= 10
			then
			ccrCast("Thunder Clap")
			return
		end
		-- Bladestorm
		if ccrPlayerHasSpell("Bladestorm")
		and ccrSpellIsReady("Bladestorm")
		and ccrPlayerCount(8) >= 2
		and ccrValidTarget()
			then
			ccrCast("Bladestorm")
			return
		end
		-- Heroic Strike
		if ccrPlayerRage() >= 115
			and not ccrPlayerHasBuff("Recklessness")
			then
				ccrCastAttack("Heroic Strike")
			return
		end
		-- Cancelaura Bladestorm
		if SpellIsReady("Mortal Strike")
			then
			ccrCastAttack("Mortal Strike")
			return
		end
		-- Colossus Smash
		if SpellIsReady("Colossus Smash")
			and not ccrTargetHasMyDebuff("Colossus Smash")
			then
			ccrCastAttack("Colossus Smash")
			return
		end

		-- Slam
		if ccrTargetHealth() >= 20 then
			if ccrPlayerHasBuff("Recklessness")
				then
					ccrCastAttack("Slam")
					return
				else
				if ccrTargetHasMyDebuff("Colossus Smash")
					then
						ccrCastAttack("Slam")
						return
					else
					if ccrPlayerRage() >= 80
						then
						ccrCastAttack("Slam")
						return
					end
				end
			end
		end
		-- Execute
		if ccrTargetHealth() <= 20 then
			if ccrPlayerHasBuff("Recklessness")
				then
					ccrCastAttack("Execute")
					return
				else
				if ccrTargetHasMyDebuff("Colossus Smash")
					then
						ccrCastAttack("Execute")
						return
					else
					if ccrPlayerRage() >= 100
						then
						ccrCastAttack("Execute")
						return
					end
				end
			end
		end
		-- Overpower
		if ccrTargetHealth() >= 20
			and ccrPlayerHasBuff("Taste for Blood") and ccrPlayerHasBuffStacks("Taste for Blood", 4)
			then
				ccrCastAttack("Overpower")
				return
		else
			if ccrPlayerHasBuff("Sudden Execute")
				then
				ccrCastAttack("Overpower")
				return
			end
		end
		-- Battle Shout
		if SpellIsReady("Battle Shout")
			and ccrPlayerRage() <= 80
			then
				ccrCast("Battle Shout")
				return
		end
		-- Heroic Throw
		if SpellIsReady("Heroic Throw")
			then
				ccrCast("Heroic Throw")
			return
		end
	end
end	
		